plugins {
    id 'java-library'
    id 'maven-publish'
}

version = publishVersion

dependencies {
    implementation "org.springframework.boot:spring-boot-starter-web:${springBootStarterWebVersion}"
    implementation "org.springframework.data:spring-data-jpa:${springDataJpaVersion}"
    implementation 'io.springfox:springfox-swagger2'
    implementation 'io.springfox:springfox-swagger-ui'
}

compileJava {
    targetCompatibility = javaTargetVersion
    sourceCompatibility = javaTargetVersion
}

compileTestJava {
    targetCompatibility = javaTargetVersion
    sourceCompatibility = javaTargetVersion
}

publishing {
    publications {
        maven(MavenPublication) {
            from components.java
        }
    }
}
